<?php
$dir = $_SERVER['DOCUMENT_ROOT'];
//var_dump($dir);
include $dir.'/online-system/freenew/model/GuestInfo.class.php';

		
$guest['web'] =  $_SERVER['PHP_SELF'];  //访问者访问的页面
date_default_timezone_set("PRC");
$guest['time'] = date("Y-m-d H:i:s");
		
$GI = new GuestInfo();
$GI->insertRecord($guest);



?>
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>点菜小助手（船说海鲜）</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm-extend.min.css">

  </head>
  <body>
    <div class="page-group">
        <div class="page page-current">
			<header class="bar bar-nav">
			  <h1 class='title'>点餐小助手</h1>
			</header>
						<!-- 工具栏 -->
            <nav class="bar bar-tab">
                <a class="tab-item external " href="index.php">
                    <span class="icon icon-home"></span>
                    <span class="tab-label">吃海鲜</span>
                </a>
                <a class="tab-item external active" href="culture.php">
                    <span class="icon icon-star"></span>
                    <span class="tab-label">学文化</span>
                </a>
                <a class="tab-item external" href="discounts.php">
                    <span class="icon icon-emoji"></span>
                    <span class="tab-label">享优惠</span>
                </a>
            </nav>
			<div class="content">
			  <div class="content-block">
				<div class="content-block-title">步行街茶点优惠</div>
				  <div class="card demo-card-header-pic">
					<div valign="bottom" class="card-header color-white no-border no-padding">
					  <img class='card-cover' src="https://www.cshxian.com/attachment/images/3/2019/03/j21uUAJSsaT2yS2aY1ybY4ymmJtUTa.png" alt="">
					</div>
					<div class="card-content">
					  <div class="card-content-inner">
						<p class="color-gray">优惠时间2019/3/11-2019/3/15</p>
						<p>此处是内容...</p>
					  </div>
					</div>
					<div class="card-footer">
					  <a href="#" class="link">赞</a>
					  <a href="#" class="link">更多</a>
					</div>
				  </div>
				  
				</div>
			 </div>
		</div>
    </div>
   
    <script type='text/javascript' src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm-extend.min.js' charset='utf-8'></script>
	<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
	

  </body>
</html>